package pers.qianyu.module.core.domain.system.enums;

/**
 * @author mizzle rain
 * @date 2021-02-12 22:06
 */
public enum SysUserGenderEnum {
    MALE("男", 0),
    FEMALE("女", 1),
    UNKNOWN("未知", 2),
    ;

    private String name;
    private Integer code;

    SysUserGenderEnum(String name, Integer code) {
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public Integer getCode() {
        return code;
    }
}
